package com.zhuojy.equity.mall.admin.common.entity;

import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuojy.equity.mall.admin.common.annotation.ExcelExport;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (TPosition)表实体类
 *
 * @author makejava
 * @since 2024-03-20 17:14:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_position")
public class TPosition implements Serializable {

    private static final long serialVersionUID = 7628497333185142289L;
    /**
    * 职位id
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
    * 职位名称
    */
    private String positionName;

    /**
    * 0:全职，1:兼职
    */
    private Integer postType;

    /**
    * 所属部门name
    */
    private String deptName;
    
    private String directSupervisor;

    /**
    * 最高领导
    */
    private String leader;
    private Long messageId;

    /**
    * 入职日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date entryTime;

    /**
    * 转正日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date becomeTime;

    private String remark;

    /**
    * 职级
    */
    private String myRank;

}
